package 客户复习;

public class EnumTest {
    public static void main(String[] args) {
        Seasons seasons =Seasons.SPRING;
        System.out.println(seasons.getSeasonName()+","+seasons.getSeasonDesc());
        Seasons[] seasons1 =Seasons.values();
        for (int i=0;i<seasons1.length;i++){
            System.out.println(seasons1[i]);
            System.out.println(seasons1[i].getSeasonName());
            System.out.println(seasons1[i].getSeasonDesc());
        }


    }
}
